internal/profile.Location.ID (field)
27 uses
internal/profile (current package)
encode.go#L65: s.locationIDX = append(s.locationIDX, l.ID)
encode.go#L240: locations[l.ID] = l
encode.go#L399: encodeUint64Opt(b, 1, p.ID)
encode.go#L409: func(b *buffer, m message) error { return decodeUint64(b, &m.(*Location).ID) }, // optional uint64 id = 1;
filter.go#L20: focusOrIgnore[l.ID] = false
filter.go#L23: focusOrIgnore[l.ID] = true
filter.go#L29: hidden[l.ID] = true
filter.go#L40: if !hidden[loc.ID] {
filter.go#L99: if focus, focusOrIgnore := m[loc.ID]; focusOrIgnore {
legacy_profile.go#L149: l.ID = uint64(len(locs) + 1)
merge.go#L179: ids[i] = strconv.FormatUint(l.ID, 16)
merge.go#L212: if l, ok := pm.locationsByID[src.ID]; ok {
merge.go#L213: pm.locationsByID[src.ID] = l
merge.go#L219: ID: uint64(len(pm.p.Location) + 1),
merge.go#L232: pm.locationsByID[src.ID] = ll
merge.go#L235: pm.locationsByID[src.ID] = l
profile.go#L93: ID uint64
profile.go#L268: if l.ID == 0 {
profile.go#L271: if locations[l.ID] != nil {
profile.go#L272: return fmt.Errorf("multiple locations with same id: %d", l.ID)
profile.go#L274: locations[l.ID] = l
profile.go#L364: sv = sv + fmt.Sprintf("%d ", l.ID)
profile.go#L386: locStr := fmt.Sprintf("%6d: %#x ", l.ID, l.Address)
profile.go#L461: l.ID = uint64(i + 1)
prune.go#L40: pruneBeneath[loc.ID] = true
prune.go#L45: prune[loc.ID] = true
prune.go#L59: id := sample.Location[i].ID